package com.hanxu.mallware.feign;

import com.hanxu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("mall-product")
@Service
public interface ProductFeignService {
    @RequestMapping("/info/{skuId}")
    public R info(@PathVariable("skuId") Long skuId);
}
